<extend name="Public:base"/>

<block name="left">
	<ul>
	

    	<li><a href="{:U('Cate/lst')}">所有分类</a></li>

		
	</ul>
</block>

<block name="right">
<div class="container clearfix">
    <div class="sidebar-wrap">
        <div class="sidebar-title">
            <h1>菜单</h1>
        </div>
        <include file="Common/left" /> 
    <!--/sidebar-->
    <div class="main-wrap">

        <div class="crumb-wrap">
            <div class="crumb-list"><i class="icon-font"></i><a href="/jscss/admin/design/">首页</a><span class="crumb-step">&gt;</span><a class="crumb-name" href="__MODULE__/cate/lst">栏目管理</a><span class="crumb-step">&gt;</span><span>新增栏目</span></div>
        </div>
        <div class="result-wrap">
            <div class="result-content">
                <form action="" method="post" id="myform" name="myform" enctype="multipart/form-data">
                    <table class="insert-tab" width="100%">
                        <tbody><tr>
                            <th width="120"><i class="require-red">*</i>上级分类：</th>
                            <td>
                                <select name="pid" id="catid" class="required">
                                    <option value="0">顶级栏目</option>
                                    <volist name="cates" id="vo">
                                    <option value="{$vo.id}"><if condition="$vo['pid'] neq 0">|</if><?php echo str_repeat('-', $vo['level']*8);?>{$vo.name}</option>
                                    </volist>
                                </select>
                            </td>
                        </tr>
                            <tr>
                                <th><i class="require-red">*</i>栏目名称：</th>
                                <td>
                                    <input class="common-text required" id="title" name="name" size="50" value="" type="text">
                                </td>
                            </tr>
                            <tr>
                                <th>关键词：</th>
                                <td><input class="common-text" name="keywords" size="50" value="" type="text"></td>
                            </tr>
                        <!--     <tr>
                                <th>描述：</th>
                                <td><textarea name="des" class="common-textarea" cols="55" rows="5"></textarea></td>
                            </tr> -->
                   <!--          <tr>
                                <th>栏目类型：</th>
                                <td>
                                <input class="common-text" name="type" size="50" value="1" checked="checked" type="radio">列表
                                <input class="common-text" name="type" size="50" value="2" type="radio">单页
                                <input class="common-text" name="type" size="50" value="3" type="radio">留言
                                <input class="common-text" name="type" size="50" value="4" type="radio">招聘
                                <input class="common-text" name="type" size="50" value="5" type="radio">车辆列表
                                <input class="common-text" name="type" size="50" value="6" type="radio">荣誉列表
                                <input class="common-text" name="type" size="50" value="7" type="radio">求职表
                                </td>
                            </tr>
 -->                            <tr>
                                <th>栏目级别：</th>
                                <td>
                                <input class="common-text" name="class" size="50" value="1" checked="checked" type="radio">顶级
                                <input class="common-text" name="class" size="50" value="2" type="radio">二级
                                <input class="common-text" name="class" size="50" value="3" type="radio">三级
                                </td>
                            </tr>
                            <tr>
                                <th><i class="require-red">*</i>是否PC端：</th>
                                <td><input name="pc" value="1" checked="checked" type="checkbox"></td>
                            </tr>
                            <!-- <tr>
                                <th><i class="require-red">*</i>缩略图：</th>
                                <td><input name="pic" id="" type="file"><input type="submit" onclick="submitForm('/jscss/admin/design/upload')" value="上传图片"/></td>
                            </tr> 
                          <tr>
                                <th>内容：</th>
                                <td><textarea name="content" class="common-textarea" id="content" cols="30" style="width: 98%;" rows="10"></textarea></td>
                            </tr> -->
                            <tr>
                                <th></th>
                                <td>
                                    <input class="btn btn-primary btn6 mr10" value="提交" type="submit">
                                    <input class="btn btn6" onclick="history.go(-1)" value="返回" type="button">
                                </td>
                            </tr>
                        </tbody></table>
                </form>
            </div>
        </div>

    </div>
    <!--/main-->
</block>